package renderer;

import java.awt.Color;

public class RenderObject{
	public float x;
	public float y;
	public float width;
	public float height;
    public float radius;
	public Color color;
    public Primitive type;
	
	public enum Primitive{
		RECT,
		CIRCLE
	};
	
	public RenderObject(){
	}
	
	public void CreateRect(float x, float y, float width, float height, Color color){
        type = Primitive.RECT;
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
		this.color = color;
	}
    
    public void CreateCircle(float x, float y, float radius, Color color){
        type = Primitive.CIRCLE;
		this.x = x;
		this.y = y;
		this.radius = radius;
		this.color = color;
	}
}
